@charset "UTF-8";
@import url('displaFlex');

@safeWidth: 1100px; //安全宽度

@safeMainColor: #01cbe9; //主题颜色
@safeMinorColor: #ff6f6e; //主题颜色

@borderColor: #dcdcdc; //边框颜色
@25mainWordColor: #252525; //文字主体颜色
@4aviceWordColor: #4a4a4a; //文字副级颜色
@99minorWordColor: #999999; //文字次要颜色

.w_h(@w_h) {
  width: @w_h;
  height: @w_h;
}

.hover(@color) {
  &:hover {
    background-color: @color;
    color: #FFFFFF;
    text-shadow: 1px 3px 3px rgba(0, 0, 0, 0.3);
    transition: all 1s cubic-bezier(0, 0.72, 0.35, 1.12);
  }
}

//文字溢出
//多行
.wordSpaceClamp(@number) {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: @number;
  overflow: hidden;
}

//单行
.wordSpaceClamp {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}

.banner {
  height: 400px;

  .outDajidai {
    position: relative;
    width: @safeWidth;
    margin: 0 auto;
    height: 0;

    .dajindai {
      position: absolute;
      right: 0;
      top: 38px;
      background-color: rgba(0, 0, 0, 0.36);
      width: 260px;
      height: 340px;
      z-index: 50;
      padding: 10px 20px 0 20px;
      border-radius: 6px;
      .displayFlex;
      .flex-direction-column;
      .flex-align-items;
      input {
        width: 260px;
        height: 44px;
        text-indent: 30px;
        border-radius: 6px;
        margin-bottom: 12px;
        cursor: pointer;
        line-height: 48px;
        background: #ffffff url("../publicImg/jiantou-xia-hui@2x.png") no-repeat 275px 20px;

      }
      h1 {
        font-size: 28px;
        color: white;
        margin-bottom: 10px;
      }
      button {
        width: 260px;
        height: 40px;
        color: white;
        background-color: #ffae00;
        border-radius: 6px;
        margin-top: 10px;
      }

      .spanbox{

        border: 1px solid @safeMainColor;
        border-top: none;
        width: 320px;
        background-color: white;
        .displayFlex;
        .flex-direction-row;
        .flex-wrap;
        border-bottom-left-radius: 6px;
        border-bottom-right-radius: 6px;
        span {
          color: #4a4a4a;
          font-size: 16px;
          width: 80px;
          height: 35px;
          text-align: center;
          line-height: 35px;

        }
        cursor: pointer;

      }
      .loansMoney {
        position: absolute;
        top: 128px;
        left: 22px;

      }
      .loansAmounttime {
        position: absolute;
        top: 128+63px;
        left: 22px;

      }
      .loanUse {
        position: absolute;
        top: 128+63+63px;
        left: 22px;

      }

      .loansInput {
        border: 1px solid @safeMainColor;
        background-size: 18px 9px;
      }

      .dajindaiCityInput{
        margin-bottom: 0;
      }

    }

  }

  .swiper-container {
    height: 100%;
  }
}

.fourTypeLoan {
  width: 100%;
  height: 110px;
  border-bottom: 1px solid #f6f6f6;
  .flex-direction-row;
  .flex-justify-align;
  .fourType {
    width: @safeWidth;
    margin: 0 auto;
    padding-top: 20px;
    .displayFlex;
    .flex-direction-row;
    a {
      .displayFlex;
      .flex-direction-row;
      .flex-justify-align;
      width: 275px;
      height: 80px;
      img {
        display: block;
        width: 68px;
        max-width: 100%;


      }
      .fourTypeText {
        margin-bottom: 12.5px;
        h4 {
          font-size: 24px;
          color: #4a4a4a;
          line-height: 34px;
        }
        p {
          font-size: 18px;
          color: #4a4a4a;
        }
      }
    }

  }
}

.hotLoans {
  width: 100%;
  height: 670px;
  padding-top: 30px;
  .hotLoansInner {
    width: @safeWidth;
    margin: 0 auto;
    .displayFlex;
    .flex-direction-row;
    .hotLoanInnerLeftBox {
      .displayFlex;
      .flex-direction-row;
      .hotLoansMore {
        height: 610px;
        width: 210px;
        border-radius: 4px;

        background: rgba(255, 111, 110, 0.99) url(../publicImg/hotMore.png) no-repeat 47px 245px;
        box-shadow: 1px -1px 20px 0px #fe6665;
        background-size: 116px 166px;

        position: relative;
        .textTop {
          margin-left: 30px;
          margin-top: 50px;
          color: white;

          h4 {
            font-size: 32px;
            font-weight: normal;
            margin-bottom: 20px;

          }

          p {
            font-size: 18px;
            line-height: 20px;

          }

        }

        a {
          display: block;
          position: absolute;
          bottom: 60px;
          border: 2px solid #ffffff;
          border-radius: 4px;
          margin-left: 30px;
          width: 144px;
          height: 48px;
          color: white;
          background: none;
          text-align: center;
          line-height: 48px;
        }

      }
      .hotLoansList {
        width: 526-40px;
        height: 610-40px;
        border: 1px solid @borderColor;
        border-radius: 4px;

        padding: 20px;
        margin-left: 20px;

        //  loansItem

        .loansItem {
          .displayFlex;
          .flex-align-items;
          .flex-direction-row;
          margin-bottom: 32px;
          .loansLogo {
            display: block;
            width: 88px;
            height: 88px;
            margin-right: 20px;
          }
          .loanInfo {
            .displayFlex;
            .flex-align-items;
            .flex-direction-row;
            .flex-justify-between;
            width: 380px;

            .loanInfoLeft {
              h3 {
                font-size: 18px;
                color: @25mainWordColor;
                line-height: 35px;
                font-weight: normal;
              }
              p {
                font-size: 16px;
                color: @4aviceWordColor;
                i {
                  color: @safeMinorColor;
                }
              }
            }
            .loanInfoRight {
              text-align: right;
              text-align: -webkit-right;
              text-align: -moz-right;
              p {
                font-size: 14px;
                color: @99minorWordColor;
                margin-bottom: 15px;
              }
              a {
                display: block;
                width: 108px;
                height: 40px;
                color: white;
                background-color: @safeMinorColor;
                text-align: center;
                line-height: 40px;
                border-radius: 4px;
              }
            }

          }

        }

      }

    }
    .hotLoanInnerRightBox {
      margin-left: 30px;
      border: 1px solid @borderColor;
      border-radius: 6px;
      display: block;
      width: 310-20px;
      padding: 0 10px;
      .toHotLoans {
        display: block;
        height: 53px;
        width: 100%;
        font-size: 24px;
        line-height: 53px;
        text-align: left;
        background: white url("../publicImg/jiantou-you-lan@2x.png") no-repeat right;
        background-size: 10px 17px;
        border-bottom: 1px solid #eeeeee;
        color: @25mainWordColor;
        margin-bottom: 30px;

      }
      .postItem {
        margin-bottom: 40px;
        .displayFlex;
        .flex-direction-row;
        .imgbox{
          width: 70px;
          height: 70px;
          border-radius: 6px;
          margin-right: 16px;
          overflow: hidden;
          position: relative;
          img {
            width: 100%;
            position: absolute;
            left: 50%;
            top: 50%;
            -webkit-transform: translate(-50%, -50%);
            -moz-transform: translate(-50%, -50%);
            -ms-transform: translate(-50%, -50%);
            -o-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
          }
        }

        .postItemText {
          h4 {
            font-size: 18px;
            width: 200px;
            color: @25mainWordColor;
            font-weight: normal;
            .wordSpaceClamp(2);
            letter-spacing: -1px;
          }
          .thumbsUpAndPageView {
            span {
              font-size: 14px;
              color: @99minorWordColor;
              padding-left: 25px;
            }
            .thumbsUp {
              background: url("../publicImg/shequ-dianzan@2x.png") no-repeat left;
              background-size: 16px 16px;
              margin-right: 30px;

            }
            .pageView {
              background: url("../publicImg/shequ-liulan@2x.png") no-repeat left;
              background-size: 16px 16px;
            }
          }
        }

      }
      a:last-child {
        margin-bottom: 0px;
      }

    }

  }
}

.hotTalkGroup {
  .displayFlex;
  .flex-direction-column;
  width: @safeWidth;
  margin: 0 auto;
  .top {
    width: 100%;
    height: 50px;
    .displayFlex;
    .flex-justify-between;
    .flex-align-items;
    background-color: @safeMainColor;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    span {
      font-weight: 500;
      font-size: 24px;
      color: white;
      margin-left: 30px;
    }
    a {
      margin-right: 30px;
      padding-right: 15px;
      background: url("../publicImg/jiantou-you-bai@2x.png") no-repeat right;
      background-size: 10px 17px;
      font-size: 18px;
      color: white;
    }
  }
  .talkList {
    width: 1038px;

    border: 1px solid @borderColor;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    border-top: none;
    padding: 0 30px;
    padding-bottom: 20px;
    .displayFlex;
    .flex-direction-row;
    .flex-wrap;
    .talkItem {
      .displayFlex;
      .flex-direction-row;
      margin-right: 50px;
      margin-top: 30px;
      height: 80px;

      img {
        width: 80px;
        height: 80px;
        display: block;
        margin-right: 15px;
      }
      .talkGroupText {

        h4 {
          font-size: 16px;
          color: @25mainWordColor;
          font-weight: normal;
        }
        .memberPost {
          .displayFlex;
          .flex-direction-row;
          span {
            font-size: 14px;
            color: @99minorWordColor;
          }
          .member {
            margin-right: 15px;
          }
          margin-bottom: 5px;
          margin-top: 5px;
        }
        .newPostTitle {
          .displayFlex;
          .flex-direction-row;

          .newPostTitle {

            width: 210px;
            .wordSpaceClamp(1);
            font-size: 14px;
            color: @4aviceWordColor;
            margin-right: 10px;
          }
          time {
            padding: 0 10px;
            border-left: 1px solid #eeeeee;
            color: @4aviceWordColor;
            font-size: 14px;

          }
          .userName{
            font-size: 14px;
            color: @4aviceWordColor;
          }
        }

      }

    }

  }

}

.groupList {
  .displayFlex;
  .displayFlex;
  width: @safeWidth;
  margin: 0 auto;
  margin-top: 60px;
  .displayFlex;
  .flex-direction-row;
  .leftGroupPost {
    width: 760px;
    .leftTitleMore {
      width: 100%;
      .displayFlex;
      .flex-justify-between;
      .flex-align-items;
      height: 50px;
      border-bottom: 1px solid @borderColor;
      span {
        font-size: 24px;
        color: @25mainWordColor;
        font-weight: 500;

      }
      a {
        font-size: 18px;
        color: @25mainWordColor;
        font-weight: 500;
        padding-right: 20px;
        background: url("../publicImg/jiantou-you-lan@2x.png") no-repeat right;
        background-size: 10px 17px;
      }
      margin-bottom: 40px;

    }
    .groupListItem {

      .displayFlex;
      .flex-direction-column;
      border: 1px solid @borderColor;
      padding: 24px 0 24px 24px;
      border-radius: 6px;
      cursor: pointer;
      margin-bottom: 20px;

      .groupName {
        font-size: 18px;
        color: @safeMainColor;
        margin-bottom: 30px;
      }
      //用户信息
      .authorInfo {
        .displayFlex;
        .flex-direction-row;
        margin-bottom: 10px;
        .info {
          .displayFlex;
          .flex-direction-row;
          img {
            display: block;
            .w_h(36px);
            margin-right: 20px;
            border-radius: 6px;
          }
          .infoText {
            .displayFlex;
            .flex-direction-row;
            .text {
              .userName {
                font-size: 16px;
                color: @25mainWordColor;
                padding-right: 30px;
                display: table-cell;
              }
              time {
                font-size: 12px;
                color: @99minorWordColor;
              }

            }

          }
        }

      }
      //帖子内容
      .postContent {
        margin-left: 55px;
        width: 635px;
        .postTitle {
          font-size: 18px;
          color: @25mainWordColor;
          margin-bottom: 10px;
          .displayFlex;

          &:hover {
              text-decoration: underline;
          }

        }
        .userText {
          font-size: 16px;
          color: @4aviceWordColor;
          display: inline;
          a {
            font-size: 14px;
            color: @safeMinorColor;
            padding-right: 7px;
            background: url("../publicImg/jiantou-you-hong@2x.png") no-repeat right;
            background-size: 6px 12px;
            display: inline;

            &:hover {
              text-decoration: underline;
            }

          }
        }
        .adminText {
          .displayFlex;
          .flex-direction-row;

          .adminCoverImgBox{
            width: 218px;
            height: 144px;
            border-radius: 6px;
            margin-right: 12px;
            position: relative;
            overflow: hidden;
            img {
              position: absolute;
              left: 50%;
              top: 50%;
              -webkit-transform: translate(-50%, -50%);
              -moz-transform: translate(-50%, -50%);
              -ms-transform: translate(-50%, -50%);
              -o-transform: translate(-50%, -50%);
              transform: translate(-50%, -50%);
            }
          }
          p {
            width: 420px;
            word-break: break-all;

          }


        }
        .text{
          a {
            font-size: 14px;
            color: @safeMinorColor;
            padding-right: 7px;
            background: url("../publicImg/jiantou-you-hong@2x.png") no-repeat right;
            background-size: 6px 12px;
            display: inline;

            &:hover {
              text-decoration: underline;
            }

          }
        }


      }
      //用户图片
      .postImg {
        margin-left: 55px;
        width: 635px;
        margin-top: 20px;
        .imgList {
          .displayFlex;
          .flex-direction-row;
          li {
            margin-right: 10px;
            position: relative;
            overflow: hidden;
            .w_h(140px);
            border-radius: 6px;

            img {

              position: absolute;
              left: 50%;
              top: 50%;
              -webkit-transform: translate(-50%, -50%);
              -moz-transform: translate(-50%, -50%);
              -ms-transform: translate(-50%, -50%);
              -o-transform: translate(-50%, -50%);
              transform: translate(-50%, -50%);

            }
          }
        }

      }

      //帖子交互信息
      .postInfo {
        .displayFlex;
        .flex-direction-row;
        margin-top: 20px;
        margin-left: 55px;
        position: relative;
        span {
          padding-left: 20px;
          color: @99minorWordColor;
          font-size: 14px;
          margin-right: 16px;
        }
        span:nth-child(1) {
          background: url("../publicImg/shequ-dianzan@2x.png") no-repeat left;
          background-size: 16px 16px;
        }
        span:nth-child(2) {
          background: url("../publicImg/shequ-liulan@2x.png") no-repeat left;
          background-size: 16px 16px;
        }
        span:nth-child(3) {
          background: url("../publicImg/shequ-pinglun@2x.png") no-repeat left;
          background-size: 16px 16px;
        }

        .groupName {
          font-size: 14px;
          color: @safeMinorColor;
          margin-right: 30px;
          position: absolute;
          top: 0;
          right: 0;

          &:hover {
            text-decoration: underline;
          }

        }

      }

    }
  }

  .rightNewProduct {
    width: 290px;
    height: 715px;
    margin-left: 30px;
    border: 1px solid @borderColor;
    border-radius: 6px;
    padding: 0 10px;
    .toNewLoans {
      display: block;
      height: 50px;
      width: 100%;
      font-size: 24px;
      line-height: 50px;
      text-align: left;
      background: white url("../publicImg/jiantou-you-lan@2x.png") no-repeat right;
      background-size: 10px 17px;
      border-bottom: 1px solid #eeeeee;
      color: @25mainWordColor;
      margin-bottom: 37px;

    }

    .NewLoansProductList {

      .loansItem {
        .displayFlex;
        .flex-align-items;
        .flex-direction-row;
        margin-bottom: 20px;
        .loansLogo {
          display: block;

          .w_h(72px);
          border-radius: 6px;

        }
        .loanInfo {
          .displayFlex;
          .flex-align-items;
          .flex-direction-row;
          .flex-justify-between;
          width: 210px;
          margin-left: 10px;

          .loanInfoLeft {
            h3 {
              font-size: 18px;
              color: @25mainWordColor;
              line-height: 35px;
              font-weight: normal;
            }
            p {
              font-size: 14px;
              color: @4aviceWordColor;
              i {
                color: @safeMinorColor;
              }
            }
          }
          .loanInfoRight {
            p {
              font-size: 16px;
              color: @99minorWordColor;
              margin-bottom: 15px;
            }
            a {
              display: block;
              width: 58px;
              height: 36px;
              color: white;
              background-color: @safeMinorColor;
              text-align: center;
              line-height: 36px;
              border-radius: 6px;
              margin-top: 36px;
              font-size: 18px;
            }
          }

        }

      }
    }

  }

  .ButtonMore {
    .displayFlex;
    .flex-justify-align;
    width: 400px;
    margin: 0 auto;
    height: 48px;
    background-color: #ffae00;
    font-size: 18px;
    color: #fff;
    border-radius: 6px;
    margin-top: 40px;
    img {
      margin-left: 6px;
      display: block
    }

  }
  margin-bottom: 60px;
}

.link {
  width: 100%;
  background-color: #f6f6f6;
  .displayFlex;
  .flex-direction-column;
  padding-top: 20px;
  padding-bottom: 25px;

  .linkInner {
    width: @safeWidth;
    margin: 0 auto;
  }

  p {
    font-size: 18px;
    color: @25mainWordColor;
    margin-bottom: 20px;
  }
  ul {
    width: 100%;
    .displayFlex;
    .flex-direction-row;
    .flex-wrap;
    li {
      width: 110px;
      margin-bottom:10px;
      a {
        color: @4aviceWordColor;
        font-size: 16px;
      }
    }
  }

}

.fixRight{
  position: fixed;
  top: 70px;
  right: 11%;

}


.positionBottom{
  position: absolute;
  left: 0;
  bottom: 100px;
}








